Skip to content

fix design issue#518

Merged
Saurabh186 merged 1 commit intodevelopmentfrom
P0080-clean
Apr 1, 2026
Merged

fix design issue#518
Saurabh186 merged 1 commit intodevelopmentfrom
P0080-clean

Conversation

@Saurabh186
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 To request another review, post a new comment with "/windsurf-review".

Comment on lines +179 to +182
// &.dark-theme {
// background-color: transparent !important;
border-color: #ffffff !important;
// }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The border-color property is now outside of any selector block after commenting out the .dark-theme class. This will cause CSS syntax errors and potentially break styles.

Suggested change
// &.dark-theme {
// background-color: transparent !important;
border-color: #ffffff !important;
// }
// &.dark-theme {
// background-color: transparent !important;
// border-color: #ffffff !important;
// }

Comment on lines +2093 to 2102
<mat-button-toggle
[class.mat-button-toggle-checked]="previewInputPosition !== 'bottom'"
(click)="previewInputPosition = 'top'"
>Input on Top</mat-button-toggle
>
Input on Top
</button>
<button
type="button"
class="custom-toggle-btn"
[class.active]="previewInputPosition === 'bottom'"
<mat-button-toggle
[class.mat-button-toggle-checked]="previewInputPosition === 'bottom'"
(click)="previewInputPosition = 'bottom'"
>Input on Bottom</mat-button-toggle
>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using the [checked] property instead of [class.mat-button-toggle-checked] for consistency with Angular Material's API. For example:

Suggested change
<mat-button-toggle
[class.mat-button-toggle-checked]="previewInputPosition !== 'bottom'"
(click)="previewInputPosition = 'top'"
>Input on Top</mat-button-toggle
>
Input on Top
</button>
<button
type="button"
class="custom-toggle-btn"
[class.active]="previewInputPosition === 'bottom'"
<mat-button-toggle
[class.mat-button-toggle-checked]="previewInputPosition === 'bottom'"
(click)="previewInputPosition = 'bottom'"
>Input on Bottom</mat-button-toggle
>
<mat-button-toggle
[checked]="previewInputPosition !== 'bottom'"
(click)="previewInputPosition = 'top'"
>Input on Top</mat-button-toggle
>
<mat-button-toggle
[checked]="previewInputPosition === 'bottom'"
(click)="previewInputPosition = 'bottom'"
>Input on Bottom</mat-button-toggle
>

@Saurabh186 Saurabh186 merged commit fa4c93e into development Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants